GtkNotebook: Maintain invariants during tab dnd
authorMatthias Clasen <mclasen@redhat.com>
Sat, 23 Jun 2012 13:59:10 +0000 (09:59 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 23 Jun 2012 14:04:14 +0000 (10:04 -0400)
commit325cf071d1b6de55eac2a97d8f38558efda17807
tree8425bdae401e89ec707adf35b19ae0f8421d7b35
parentb7c498b9bd70c5a4b4e84672645aefbaafaf7691
GtkNotebook: Maintain invariants during tab dnd

It turns out that we can end up removing a notebook child while
the tab is still 'detached'. Child removal causes
gtk_notebook_remove_tab_label() to be called on the tab label,
but that function did not deal with the eventuality that the tab
label may be a child of the dnd window.

http://bugzilla.gnome.org/show_bug.cgi?id=677943
gtk/gtknotebook.c